package com.dycn.dao;
import java.util.List;

import com.dycn.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser findByUsername(@Param("username")String username);

    SysUser findById(@Param("id")String id);

    SysUser findByPhone(@Param("phone")String phone);

    List<SysUser> listUser();







}